Merge pull request #15 from mwdion/master

fixed user authentication