modified session controller to set institution id for local