fixed validation on username field.
Merge pull request #2 from titankronos/master

fixed validation on username field.