Correctly implementing session_store class. (#231)