get and all routes from mongodb