finished adding event to database function
Merge pull request #2 from kbsail/ironman

finished adding event to database function