start exposing documents in the db to the web