Usercreationrefactor updates in release  1.72

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