fix check for existing user