added putinbasket, takeouofbasket and pay methods