validations added to index page