Rewrite mail module.
User mail_helper to send e-mail.
Fixed an error password bug.
Use mail_helper to send login mail.
Remove `sendMail()`.
Add mail unit test.
Add login page unit test.