implemented google api on server