Reformat code
add title and date to event detail page