fixed login/signup flow