Fixed user registration with new new user model.