WIP controller
improved test
rabl to render json views.