add rewrite => login & register