Added form alert messages
Created application.js for posting form