added getPosts - activity