login and register action is completed