Added mongo support for get posts from ids and get users from ids