global error handler
converting to object ids
fleshing out routes