Adding code for custom urls UI