fix some redirect.

login redict to home if already loged in
/hub redirect to /hub/