updates to allow use of session data in controllers
more updates