You need to login first in order to add product to the wishlist.