Fixing auth issue with editing events
Added directives