Implemented InputVerifer approach to check username.