logic change about user authentification
Merge pull request #35 from papci/master

Change logic about user authentification