added seperate db query to delete user