Update to ruby 2.1.3 and fix sign out button error