fix references to User

User was replaced by a call to get_user_model() by commit 568dd436fe7a603aacae08e49eb876ec0d96b16d