added some more security features