Added some simple security measures