Refactor event handling to use short IDs for better URL structure and improve user experience when accessing event pages.