Got authentication working
Changed AuthenticationInfo to structure