Refactored user registration
Refactored user creation due to changes of User::create()
minor refactoring to User Model
moved generic user registration login from Source
added POST data validation to user registration logic
POST data validation in user registraion API
POST data validation fix
fixed outputting of errors
comments
Put min password length into configs
Changed data validation
Fixed using password length due to changes of its config
Merge pull request #5 from SanchoFromRancho/register

User registration refactoring