error handling
better handle event search
fixed time display on main.html