The Sign-up and Login - A Recommended Workflow Guide describes the recommended way for apps to have users create or login with their account. It also gives details about providing some account management tools to the user.