Create posts.php

fetch posts