validate username through username validator

Change-Id: Ie6e0e85b4bf608dea12fd15f6fdda1b6c24155b5