added security permissions
updated security permissions to get functions