checkEmail in both states of submit