Changed session objects to single objects so that the default cookie_store can be used.