Added security check to avoid double pairing.
Added second authentication factor
Refactored the code of the plugin
Improved the second factor form
Merge pull request #2 from alessandrofg/master

Refactored the code of the plugin and implemented the second factor authentication.