Added to template -> display the logged in user

Post filtering ensuring that only the owner or an admin can edit/delete
a post is not working