Implemented removal of user from database on socket disconnect