Added session class to logging