Code base

Minor amendments to SessionsHandler.