Redirect to origin on login/logout
redirect on login fix for prev commit
obsolete var removal
Merge pull request #121 from kordero/login_redirect

redirect to previous page on login/logout