fixed db connection files, connection working