Fixed reference to MVC instances
Added session manager