added signup validation with error message