Fix e-mail notifications. Closes gh-27. jQuery attr-prop bug.
Compose auth controller.

Also, remove unused view helper and fix code style.