Usercreationrefactor updates in release  1.72

Bugs fixes:
* security bug 
* logging bug when users cant be saved
* corpus in users was saved as the activity feed, not the corpus
* users had no preferences