Renaming middleware.checkUser to middleware.requireUser for clarity