Add user model and Entity manager

This also changed the emailer and the minor changes needed to keep it building within OpenGameView and similar classes