Added 'completed' attribute for events, route to toggle event, and automatic addition of 'completed' to event creation.