in if where we check error occurance we will everytime return them if there has an error occurs. that means,
if(!email){
return res.json('email name is not given')
}
in if where we check error occurance we will everytime return them if there has an error occurs. that means,
if(!email){
return res.json('email name is not given')
}