Log the user data before saving it