Fixing problems in deployment

Check added to see if the google event exists in the database as well.
Commented and unnecessary files deleted.