- there's a templating example in the project
- there are middleware examples in the blog post and in the project
- depends on what you mean by "sucurity". there's an example of secure cookie encryption in the blog post and the project
- depends on what sort of authentication or authorization you need. If you just need basic auth you can try https://godoc.org/github.com/kevinburke/handlers#BasicAuth