Added app_name field to RegisterDeviceForm