Displayed all posts and created single post view