added generic user model and sessions to engine