Just a tip: the password should definitely not be visible. Replace it with asterisks or something instead.