Fixed user registrations failing