added front page date functionality to event controller