changed routes. changed response format