prevents double submit of form by diabling submit button
changed selector for spinner and renamed method
added removing spinner to function