added static pages, fixed time comparison in event.rb