fix ui bug with the revoke and sign out