removed the public session from the unit of work and made the read only public rather than protected.