mocked out a simple session handler with quit functionality