improved naming of before_filter method, added todo comment