Changes to avoid lazy initialization exceptions

Changed controller classes to avoid lazy initialization errors due to
the new open entity manager in view pattern.