added the first implementation of the posts