linked to azure db and fixed ef issues