user login, register and nodemailer