got login and redirects to work