Adds expire page middleware
Adds permission check
Adds example project