Validation added in index.html