Login now goes to main page