Implement client sign in.