adding has liked function