added search date availability functionality