Added form validation and a background