Redirect properly after login and signup
listen for and handle redirect events
Merge pull request #14 from LocalData/login

Redirect correctly after signup or login