Fixing error in session setup in configure_views()