Users should not be able to view pages such as http://localhost:5010/posts/post/1/edit when they aren't logged in