Fixed bug that had broken new user registration