Merge pull request #32 from adamarla/master

Auto-login on reg fixed Issue #32
Merge remote-tracking branch 'upstream/master'