Some validation added to the forms