full login process