added status message to index.erb