fixing new user registration