Get url from database