added the app/api directory