User registration fix