makes registration url configurable