added form component and added example