added form validation and started to call services from UI