uncomment api resource in functions.py