date validation, ical and some template modifications added