added newevent.php and inserting a new event into the db works, commented out code will be to get a list of events from the database.