Authorization.scala implements really simple authorization snippets. index.html shows how to use them.