Moved user model to an engine