missing set username
removed unused version