added uniqueness tests on username and name for users