-Added a loading spinner for various ajax methods.