Take expiration from CHI config
Added url device-registration