fixed session bug; EmbedPhotoAction