removed uncessary apis in secrets.js