posts are now retreived from the api