added username saving