refactor Google API and New Events Link Page