Fixed renamed is_allowed_mac to is_allowed to match call in controller