changed registration and login