added new event page + open connection database
able to insert new event in database + fetch events from database