Fixed access_token bugs. GPL added