Added a function to get posts from a list of post ids
Cleaned up server side functions for funneling posts and users into handlebars templates