added edit button
added trash endpoint
added trash controlelr
fixed datepicker
added delete function