Added unregister functionality to android client