Add email validate
Skip validate if empty
Use errors array instead of error message for input validate