a flexible authentication system utilizing Plug middleware