Changin directly call of User model

Instead of calling the User model directly, it's using the get_user_model
function of contrib auth.