Change flow when user login.