Adding security to limit method access