validate enddate hand over coffee controller