removed the unused create_auth_headres method.