create client login code