finish logIn and mainmenu