validator for usernameinplemented