add oauth token repository to return token to phonegap app