Added alerts for the errors entering form and colors for Published field