Add method to get posts by user