added user table sql
Merge branch 'master' into create_user
little refactor, better handling of error, creation return created entity