signin and routing with couple pages