prototype auth system