completed validation,login validate,register