implemented no of photos per user'