adding REST routes