fix some redirect.

login redict to home if already loged in
/hub redirect to /hub/
Merge pull request #44 from Carreau/fix-redirect

add some redirects