Implement LoginControl.