Made changes to security