How do I get the user after login, that he can see in some corner of the screen his name with some information of him with that login and that when he presses the "back" or "exit" a question appears if he really wants to proceed, and if he confirms it to log out and return to the index.