able to retrieve events correctly in website fixed bug with adding and adding an event puts it in the correct tab