added triggers for jot materialized view, use view in home page controller