Added new code to prevent multiple clicks of Sign Up button.