added more routes for api.