sms form fixes, adding logout functionality