Prevent extra clicks on request sms link

Disable link while the ajax request hasn't finished.
Clean up the authenticate_user function