basic authentication based on warden widdleware with some snapshots