Added a section to User Guide on how to override SessionFactory and
plugin new classes for custom identity management solution.
Merge with master