get url's from mongo and added crud api methods for urls