fixed WHERE statements, added getSingleEventBySingleEventID