added check for duplicate user name to CreateUser sql function