fix user stat on main
fix redirection for login/signup