Added log in, interface external behavior.
Merge branch 'master' of https://github.com/lin99/HPVAS-2013-1-3

Combine methods of controling and interfaces