fix username check on company register page