minor fix - to make the events endpoint REST style
added FE change to reflect the change in endpoint name for createEvent