Added routes for api