Fix for models.py: put Trust EmbeddedDocument declaration before referencing
Document UserProfile. Renamed 'User' to 'UserProfile'