adding quick rails code to associate image to user