fixed database open/close issues and finally displaying artworks on museums page