Change variable name

from json to news
Added form validation

Form is now validated, only throwing alerts.