Added logging for form filling