fix with user registration