Fixes the validation rules for username.

Closes #34