some views are changed and REST api is added