Added ajax + security for cart