Add device sharing, authentication API and GUI