Guard against multiple signup events

Fixes #1841
* Added flag for ajax submission on button press
* Added error message if flag is present. If error message is present, mutliple instances of signup request aren't sent
* Removed flag if ajax return is a fail (so user can retry without reloading the page)