modified frontend with google api