added multiuser entity manager support to allow different portals for different types of users as well as auth roles