adding routes for get object by name