adding jsonify to Controller