Implementing all posts page and adding post page