fixed validation on username field.