Add jsdoc comments for the api and auth modules.