implimented delete records and added datepicker