encode username