adding the session handler