Added basic validation in form fields