Log out before deleting user
Merge branch 'fix-user-delete'