set upsert true for user creation in registration process