Split initializeSecurity() into two methods (initializeSecurity() and initualizeSecurityUI()) to make it less confusing.
Also put else on the same line.