adding in button for seeing alerts and showing spinner when request is submitting