updated security configuration, lots of view changes