Fixed build error in Session handler