cleaning up the menu and setting it so that upon user login, redirects to the homepage.