added devise for events