Added denied access page and functionality when not logged in when submitting a post.