public JSONObject listAllViews( String user ) {
JSONObject response = new JSONObject();
SimplePersistence sp = SimplePersistence.getInstance();
Filter filter = new Filter();
filter.where( "user" ).equalTo( user );
List<View> views = sp.loadAll( View.class );
JSONArray arr = new JSONArray();
for ( View v : views ) {
arr.put( v.toJSON() );
}
try {