api can now list url from db