redirect to root if logged in

当已登录用户访问/login和/signup时，定向到/