Updated devide registration to use HTTP Basic
Added log message when device is registered
Display user message when register device failure