Fixed issue 253

Form validator is checking username only based on Length
Merge pull request #276 from roninio/master

Fixed issue #253