put auth stuff from conn to trait authInfo

put auth stuff from Class Connection to trait AuthInfo