golang auth prototype