adding scope to ApplicationController