authentication, read and extend now working as expected on postgres