completed this validation for front page, and block error input form.