fixing the broken sms stuff.
Merge branch 'dan' into 3divs-dev
Fixed persistent logins when page is refreshed