Added functionality to view user's posts