fix auto signin and signup