Reference api route
created route file for API