separated logic URLHelper