began adding api authnentication call