Fixed an issue that prevented registering new users