Simplify user credential creation.
Merge pull request #51 from Taik/master

Simplify user credential creation.