public function getUserProfile() {
		$client = $this->getClient();
		
		$client->setAccessToken($this->access_token);
		
		$plus = new \Google_Service_Plus($client);
		$oauth2 = new \Google_Service_Oauth2($client);
		
		if ($client->getAccessToken()) {
            $user = $oauth2->userinfo->get();
            
			if (isset($user->id)) {
                $name = $user->givenName;
                
                if (!empty($user->familyName)) {
                    $name = $user->familyName.' '.$user->givenName;
                }
                
				$profile = array(
					'userid'=>$user->id,
					'name' => $name,
					'imageurl' => $user->picture,
					'email' => $user->email
					);

				return $profile;
			}
  		}
  		throw new \Exception('Can not get google profile');
	}