Add a way to require user authentification if needed

+ Add a middleware authentificationFilter
+ Fix a template path bug