go to main page after login