user registration fix