added view for posts.