fixed url path for ajax
added else validation and form fields with addded case 3