Improved the process for retrieving access tokens by specifying which permissions a user should check