Allow pre_save hook to abort saving by returning a response.
UserViewMixin now checks if user is authenticated.
PyLint cleanup