direct check of database for duplicate users before creating a new user