Fix rescue in logout method

String#match? isn't a defined method for String, we want #match
Merge pull request #70 from estately/fix_logout_rescue

Fix rescue in logout method