reverts the SessionHandler
Revert "getting rid of the InternalHandler"

This reverts commit 4f56f65c5789763d5cfbb88837b4c01c02efd8c4.