Fixed (?) login and register