remove views and index route
render json on errors, no more views