Added basic required field validation