added loading, success, and failure appview