made name field mandatory and back button working
added error message in red when a mandatory field is not entered in the form