implemented form example with logging console