Refactoring signin stuff
Fix typo
Merge pull request #45 from gmist/refactoring_signin

Refactoring signin stuff