remove puts statement, add test for access token