test if user already exists before creation