Fix title in template
Use Middlware instead of updating PocketIO