fixed problem with registering new user in Production