fixed authentication for events and notif.