Manage appointments

Handle if Ajax fails.