fix routing problem:cannot signin and loggin