improve user registration