URLs now stored in and retrieved from database.