Fixed the user create and login.