user can add favorites using ajax