Use 303 redirect for the login.
Use Template.Clone() to organize layouts

Remove the dirty content/yield hack. Instead, clone a base layout and
add the “body” part by file. It is faster and cleaner than using yield
with FuncMap.