Add registration ctrl and tpl.
Add login ctrl and tpl.
Add redirect to login.
Beautify code and remove from tag.