Improved user registration to take advantage of User::find().