make connecting to postgres work, redis is next