added shared service and get list via ajax to api