Added association between user and image and incorporated in the relevant spec and code