Implementation for Logout if logged in
Logging in redirects instead of forwards.

When logging in, it should do a redirect not a forward to the homepage;
otherwise the URL does not change (and it should.)
Merge pull request #5 from zainadil/CtrlrChanges

Ctrlr changes