add feature of logout on the Perfect Ruby on Rails sample apps