manuaaly merged Burt's code and fixed bug to show joined events on my events page