started api. routes are working and returning json