Fixed a bug where deleted user could still be loggedIn