Makes sure user is authenticated for most CRUD post pages