implement more db fns; send back root post information on index page