refactored the authentication service
authentication implemented according to https://developers.google.com/youtube/v3/guides/authentication#client-side-apps