Now retrieving url components from DB