Functional login.