#115 - updated the Controller class to use the SessionProviderFactory