login page redirected to main menu