Removed unused components, display error messages for invalid input or failure, and show loading icon