add mysql and make calendar events clickable