add functionality to remove photo