Added user update. Minor fixes in device management.