added the first implementation of posts