add username field

ugly cut and paste code