image optimisation
update add_event layout and time check for events from past.