changed player and added securitymanager class