draft version of reading post from mongodb
add 404 error handler

add demo connection to mongodb for reading posts