Fixed a bug where the login session would remain even after the user had been removed
refactoring, delete method added to dbez