created DB and included /messages in the actions.rb