The action 'rate' does not exist in class Security