Using Planning for a Personalized Security Agent