adding error check on email step-2