Ajax loaders and error handling on dashboard page