UsersViewProfile::prepareDocument

Prepares the document