fixing issues with session; adding back redis integration