added security manager and remove ports