we need to unregister device at urban airship when logging out, and hence register again when logging in