call code iff user is logged in
Disable a route without having to comment out the entry in the routes file.
call code iff user has right permission for resource
Use when you want to require the user to be logged in on a private server or the server is public.
call code iff user is a server admin
get user if logged in
REST endpoint: POST: edit a comment associated with a specific file
Return user based on request object
REST endpoint: DELETE: remove a comment associated with a specific file