basic db connection working, but not implemented on front-end