added method to scope on tenant from controller, tests