Got the authentication and getting the refernece data for attribute_types working