Redirects user to homepage when already logged in

Redirects user to homepage when already logged in
Good catch and thank you for submitting a fix.

You can simplify by:
```
if(pb.security.isAuthenticated(this.session)) {
   ...
}
```

If you'll make that small change for me I'll happily merge it in.