add redis handle class
replace storing semester and period in session with redis store