changes to ui, changed the way the device communicate to appspot