Merge pull request #48 from n2diving/login

Fixed user create function
housekeeping: