Added endpoint authentication