router control: check -> login