hide photo delete from non-loggedin users