implements session clearer in books