authentication prototype