added authentication for get api