Fix controller
Fixed controller part two
Fixed controller part three
Fixed controller part four
Modified to correspond to older version (0.4.2) of the security extension