bugfix: only retrieve user's posts in the main page