fixed username saving bug