refined login scenario