Finished setting up API routes