Addressing Security Vulnerabilities in Smart Homes