Fixed issue with user registrations