Many fixes and improvements, issues detected on QA servers
Merge pull request #1430 from julceslauhub/master

Many fixes and improvements, issues detected on QA servers
Merge remote branch 'upstream/master'
Add hook before create user