changed the user import to get_user_model for custom user model compatibility