added background job using resque