Fixed indentation.
Added helper for querying mongo by id.