created tables for photos and albums