Fixed login/registration