add search on messages, add FactoryGirl change layout to haml, make spec runs