some minor code changes
Merge branch 'master' of https://github.com/tinkie101/SmartDoor