ORM: implement #get_user_posts