added exchanging refreshToken for new accessToken; fixed error handling
added new version