Fixed bug with new user not registering.