Bug: fix error in delele
Refactor: removed testing code
Refactor: removed the need to carry on SessionID