AccessController fixed

Added some functions to store security level.