added a simple loading gif and the enable/disable action on the submit button