Adding UI to Library Service and AJAX call implementation