add photo adding functinoality