fixed database issue preventing multiple photo o uploads per client
EVERYTHING WORKS NOW
further fixes to the server. still having sync problems with generatePalettes