allows adding an event to database - started working on creating an event page