Add private method find_project and before_filter