Use _log_event from BaseController instead of overriding it  without reason
Better check to see if a user object is available