Added device validation to addUser API, fixed AWS VM setup bypass