allowed the before filter to work if check access wasn't defined