removed name and added model and os in device registration call,
renamed the command from "registerIdentity" to "registerDevice"