Add loading indicator functionality
Fix bug in loading indicator
Allow post obj to be overridden by the user