added db routes.