fixed login redirect bug, still not perfect
Merge pull request #118 from wlabranche/bugfix/login-redirect

fixed login redirect bug