updates to backend to support new 'photosets' table
photosets changes