Added doc comments to api controllers