added auto credentials