change messages controller, index layout, added form