Smartphone used to open doors