how to use fastapi with postgresql