added routes for querying depots and drugs