setup profile function so user's posts are displayed on their profile page
setup profile view so user's posts are displayed