get all for posts and users