create endpoints to authorize app in Pocket