ring-client login implementation