more examples on BeforeFilter and NotFoundHandler
added LogFunc