get posts from firebase