Add some cool almost-middleware auth utilities
Removed unused file